package com.woniu40.separate_music.service;

import com.woniu40.separate_music.entity.User;
import com.woniu40.separate_music.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;
    public User findUserByName(String name){
        return userMapper.selectByName(name);
    }
}
